package com.lostreseditores.sabersai.model;
// Generated 24/06/2013 08:43:17 AM by Zathura powered by Hibernate Tools 3.2.4.GA


import java.util.Date;


public class VSalonesId  implements java.io.Serializable {


     private Integer caliidn;
     private String cursoCursdescripv;
     private Integer usuaidn;
     private Date califechad;
     private Integer calCaliidn;
     private Long nalumnos;
     private String calificaJornada;

    public VSalonesId() {
    }

    public VSalonesId(Integer caliidn, String cursoCursdescripv, Integer usuaidn, Date califechad, Integer calCaliidn, Long nalumnos, String calificaJornada) {
       this.caliidn = caliidn;
       this.cursoCursdescripv = cursoCursdescripv;
       this.usuaidn = usuaidn;
       this.califechad = califechad;
       this.calCaliidn = calCaliidn;
       this.nalumnos = nalumnos;
       this.calificaJornada = calificaJornada;
    }
   
    public Integer getCaliidn() {
        return this.caliidn;
    }
    
    public void setCaliidn(Integer caliidn) {
        this.caliidn = caliidn;
    }
    public String getCursoCursdescripv() {
        return this.cursoCursdescripv;
    }
    
    public void setCursoCursdescripv(String cursoCursdescripv) {
        this.cursoCursdescripv = cursoCursdescripv;
    }
    public Integer getUsuaidn() {
        return this.usuaidn;
    }
    
    public void setUsuaidn(Integer usuaidn) {
        this.usuaidn = usuaidn;
    }
    public Date getCalifechad() {
        return this.califechad;
    }
    
    public void setCalifechad(Date califechad) {
        this.califechad = califechad;
    }
    public Integer getCalCaliidn() {
        return this.calCaliidn;
    }
    
    public void setCalCaliidn(Integer calCaliidn) {
        this.calCaliidn = calCaliidn;
    }
    public Long getNalumnos() {
        return this.nalumnos;
    }
    
    public void setNalumnos(Long nalumnos) {
        this.nalumnos = nalumnos;
    }
    public String getCalificaJornada() {
        return this.calificaJornada;
    }
    
    public void setCalificaJornada(String calificaJornada) {
        this.calificaJornada = calificaJornada;
    }


   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof VSalonesId) ) return false;
		 VSalonesId castOther = ( VSalonesId ) other; 
         
		 return ( (this.getCaliidn()==castOther.getCaliidn()) || ( this.getCaliidn()!=null && castOther.getCaliidn()!=null && this.getCaliidn().equals(castOther.getCaliidn()) ) )
 && ( (this.getCursoCursdescripv()==castOther.getCursoCursdescripv()) || ( this.getCursoCursdescripv()!=null && castOther.getCursoCursdescripv()!=null && this.getCursoCursdescripv().equals(castOther.getCursoCursdescripv()) ) )
 && ( (this.getUsuaidn()==castOther.getUsuaidn()) || ( this.getUsuaidn()!=null && castOther.getUsuaidn()!=null && this.getUsuaidn().equals(castOther.getUsuaidn()) ) )
 && ( (this.getCalifechad()==castOther.getCalifechad()) || ( this.getCalifechad()!=null && castOther.getCalifechad()!=null && this.getCalifechad().equals(castOther.getCalifechad()) ) )
 && ( (this.getCalCaliidn()==castOther.getCalCaliidn()) || ( this.getCalCaliidn()!=null && castOther.getCalCaliidn()!=null && this.getCalCaliidn().equals(castOther.getCalCaliidn()) ) )
 && ( (this.getNalumnos()==castOther.getNalumnos()) || ( this.getNalumnos()!=null && castOther.getNalumnos()!=null && this.getNalumnos().equals(castOther.getNalumnos()) ) )
 && ( (this.getCalificaJornada()==castOther.getCalificaJornada()) || ( this.getCalificaJornada()!=null && castOther.getCalificaJornada()!=null && this.getCalificaJornada().equals(castOther.getCalificaJornada()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getCaliidn() == null ? 0 : this.getCaliidn().hashCode() );
         result = 37 * result + ( getCursoCursdescripv() == null ? 0 : this.getCursoCursdescripv().hashCode() );
         result = 37 * result + ( getUsuaidn() == null ? 0 : this.getUsuaidn().hashCode() );
         result = 37 * result + ( getCalifechad() == null ? 0 : this.getCalifechad().hashCode() );
         result = 37 * result + ( getCalCaliidn() == null ? 0 : this.getCalCaliidn().hashCode() );
         result = 37 * result + ( getNalumnos() == null ? 0 : this.getNalumnos().hashCode() );
         result = 37 * result + ( getCalificaJornada() == null ? 0 : this.getCalificaJornada().hashCode() );
         return result;
   }   


}


